package cn.itcast.work.pojo;

/**
 * 不是实体类
 *   只是一些相关文章信息 方便返回
 */
public class InfoText {
    private String cname;
    private String mname;

    @Override
    public String toString() {
        return "InfoText{" +
                "cname='" + cname + '\'' +
                ", mname='" + mname + '\'' +
                '}';
    }

    public InfoText(String cid, String mid) {
        this.cname = cid;
        this.mname = mid;
    }
    public InfoText(){

    }

    public String getCid() {
        return cname;
    }

    public void setCid(String cid) {
        this.cname = cid;
    }

    public String getMid() {
        return mname;
    }

    public void setMid(String mid) {
        this.mname = mid;
    }
}
